package com.xique.blelock.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/12/5.
 */

public class UserInfo implements Serializable {

    private String phonenum;
    private String passwd;
    private int logintype;
    private String uid;
    private String token;

    private String nickname;//昵称

    private int sex;//昵称 1是男的，0是女的

    private int age; //年龄

    private int issetPwd;

    private boolean isSetting = false;

    private List<LockInfo> lockInfoList;

    //临时变量，表示当前操作的锁跟当前登录账号的关系， 0位管理员，1位负管理员，2位普通用户
    private int role;

    public int getIssetPwd() {
        return issetPwd;
    }

    public void setIssetPwd(int issetPwd) {
        this.issetPwd = issetPwd;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public int getLogintype() {
        return logintype;
    }

    public void setLogintype(int logintype) {
        this.logintype = logintype;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isSetting() {
        return isSetting;
    }

    public void setSetting(boolean setting) {
        isSetting = setting;
    }

    public List<LockInfo> getLockInfoList() {
        return lockInfoList;
    }

    public void setLockInfoList(List<LockInfo> lockInfoList) {
        this.lockInfoList = lockInfoList;
    }
}
